package com.rxutil;

import rx.Subscriber;

/**
 * Created by wangwei on 2016/12/16.
 */

public abstract class RxSbuscriber<T> extends Subscriber<T> {
    @Override
    public void onCompleted() {

    }

    @Override
    public void onError(Throwable e) {

    }

    @Override
    public void onNext(T t) {
        onSuccess(t);
    }



    public abstract void onSuccess(T t);


}
